package com.iepacj.thkjava.interfaces;

public class Go {

	static void u(Monster monster) {
		monster.menace();
	}
	
	static void v(DangerousMonster dm) {
		dm.menace();
		dm.destroy();
	}
	
	static void w(Lethal l) {
		l.kill();
	}
	
	public static void main(String[] args) {
		DangerousMonster dm = new DranonZilla();
		u(dm);
		v(dm);
		Vampire vam = new VeryBadVampire();
		u(vam);
		v(vam);
		w(vam);
	}
}
